package com.tao.erp.emp.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.tao.erp.emp.dao.EmpMapper;
import com.tao.erp.emp.pojo.Emp;
import com.tao.erp.emp.service.EmpService;

@Service
public class EmpServiceImpl implements EmpService{

	@Autowired
	private EmpMapper empMapper;
	
	@Override
	public Emp selectEmpByUserName(Emp emp) {
		return empMapper.selectEmpByUserName(emp);
	}

	@Override
	public Emp selectEmpById(Integer uuid) {
		return empMapper.selectEmpById(uuid);
	}

	@Override
	public List<Emp> selectEmpList(Emp emp) {
		return empMapper.selectEmpList(emp);
	}

}
